package com.nchu.student_score.mapper;

import com.nchu.student_score.dataObject.GradeResult;
import com.nchu.student_score.model.Grade;
import java.util.List;

public interface GradeMapper {
    int deleteByPrimaryKey(String gradeId);

    int insert(Grade record);

    Grade selectByPrimaryKey(String gradeId);

    List<Grade> selectAll();

    int updateByPrimaryKey(Grade record);

    int insertAll(List<Grade> record);

    List<GradeResult> getGradesList(GradeResult record);

    List<Grade> selectByTeachId(String teachId);

    List<Grade> selectByTeachIdAndStuIds(List<Grade> record);
}